<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<nav class="navbar-default navbar-static-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">

                        <div class="dropdown profile-element"> <span>
                            <img alt="image" class="img-circle" src="img/profile_small.jpg" />
                             </span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="index.html#">
                                <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">Beaut-zihan</strong>
                             </span> <span class="text-muted text-xs block">欢迎：${sessionScope.userEntity.userAccount } </span> </span>
                            </a>
                        </div>
                        <div class="logo-element">
                            H+
                        </div>

                    </li>
                   
                    
                        
                    <li>
                        <a href="./pages/index.jsp"><i class="fa fa fa-globe"></i> <span class="nav-label">校园公告</span><span class="fa arrow"></span></a>

                        <ul class="nav nav-second-level">
                            <li><a href="./pages/notice/listnotice.jsp">校园公告列表</a>
                            </li>
                            <li><a href="./pages/notice/addnotice.jsp">添加校园公告</a>
                            </li>
                            
                        </ul>
                    </li>
                    <c:if test="${sessionScope.userEntity.userType == '1'}"  >
                    <li>
                        <a href="./pages/index.jsp"><i class="fa fa fa-globe"></i> <span class="nav-label">班级资料</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="./pages/classrequire/classrequire.jsp">班级资料列表</a>
                            </li>
                            <li><a href="./pages/classrequire/addClassrequire.jsp">添加班级资料</a>
                            </li>
                            
                        </ul>
                    </li>
                    
                      <li>
                        <a href="./pages/index.jsp"><i class="fa fa fa-globe"></i> <span class="nav-label">学生资料</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            
                            <li><a href="${pageContext.request.contextPath}/student/toQueryStudents.do">学生资料</a>
                            </li>
                            <li><a href="${pageContext.request.contextPath}/student/tosAddtudent.do">添加学生资料</a>
                            </li>
                        </ul>
                    </li>
                    
                      <li>
                        <a href="./pages/index.jsp"><i class="fa fa fa-globe"></i> <span class="nav-label">教师资料</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="./pages/teacher/teacher.jsp">教师资料列表</a>
                            </li>
                            <li><a href="./pages/teacher/addTeacher.jsp">添加教师资料</a>
                            </li>
                        </ul>
                    </li>
                    
                      <li>
                        <a href="./pages/index.jsp"><i class="fa fa fa-globe"></i> <span class="nav-label">课程资料</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="./pages/course/course.jsp">课程资料列表</a>
                            </li>
                            <li><a href="./pages/course/addCourse.jsp">添加课程资料</a>
                            </li>
                            
                        </ul>
                    </li>
                    
                      <li>
                        <a href="./pages/index.jsp"><i class="fa fa fa-globe"></i> <span class="nav-label">课程表资料</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="${pageContext.request.contextPath}/courselist/toQueryCourselist.do">课程表资料列表</a>
                            </li>
                            <li><a href="${pageContext.request.contextPath}/courselist/tosAddCourseList.do">添加课程表资料</a>
                            </li>
                            
                        </ul>
                    </li>
                    </c:if>
                    
                     <li>
                        <a href="./pages/index.jsp"><i class="fa fa fa-globe"></i> <span class="nav-label">修改密码</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="./pages/users/updatePassword.jsp">修改密码</a>
                            </li>
                        </ul>
                    </li>
                </ul>

            </div>
        </nav>
